blob: 8b897e0da52184e5ac25e328e0273c827326a84c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
module.wasm: file format wasm 0x1
Section Details:
Type[1]:
- type[0] () -> nil
Import[2]:
- table[0] type=funcref initial=0 <- env.__indirect_function_table
- memory[0] pages: initial=9 <- env.__linear_memory
Function[1]:
- func[0] sig=0 <f>
Code[1]:
- func[0] size=8 <f>
Data[1]:
- segment[0] <.data> memory=0 size=9 - init i32=0
- 0000000: 0000 0005 6865 6c6c 6f ....hello
Custom:
- name: "name"
- func[0] <f>
Custom:
- name: "linking"
- segment info [count=1]
- 0: .data p2align=2 [ ]
- symbol table [count=2]
- 0: F <f> func=0 [ binding=global vis=default ]
- 1: D <shed__string__0> segment=0 offset=0 size=9 [ binding=global vis=default ]
Custom:
- name: "reloc.CODE"
- relocations for section: 3 (Code) [1]
- R_WASM_MEMORY_ADDR_SLEB offset=0x000008(file=0x000068) symbol=1 <shed__string__0>
Code Disassembly:
000066 func[0] <f>:
000067: 41 80 80 80 80 00 | i32.const 0
00006d: 0b | end
|